<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link href="../static/css/bootstrap.min.css"  type="text/css" rel="stylesheet">
<link href="../static/css/jquery-ui.css"  type="text/css" rel="stylesheet">
<link href="../static/css/index.css" type="text/css" rel="stylesheet">
<title>人事档案--人事任命-添加</title>
</head>

<body>
<!--头部-->
<nav class="navbar navbar-default navbar-fixed-top  top" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header" style=" width:100%;"> <a class="navbar-brand" href="javascript:history.go(-1);" style=" width:100%;  padding-right:0px;"> <span class="glyphicon glyphicon-arrow-left white"></span> 
      <!--    <span class="glyphicon glyphicon-pause white" style="margin-left:2%;"></span>--> 
      <span class="white" style="margin-left:10%">继续教育-添加</span> <span class="glyphicon glyphicon-user white" style="float:right"></span> </a> </div>
  </div>
  <!-- /.container-fluid --> 
</nav>
<!--头部 end--> 
<!--主体部分-->
<div class="container" style="margin-top:70px;">
  <div class="row row_margin">
    <form class="form-horizontal" role="form">
    
     <div class="form-group">
        <label for="" class="col-sm-2  control-label">项目名称：</label>
        <div class="col-sm-10 ">
           <input type="text" class="form-control" id="">
         </div>
     </div>
     
      <div class="form-group">
        <label for="" class="col-sm-2  control-label">教师姓名：</label>
        <div class="col-sm-10 ">
          <select class="form-control">
            <option>教研组</option>
            <option>备科组</option>
            <option>级长</option>
            <option>班主任</option>
          </select>
        </div>
      </div>
      
      
       <div class="form-group">
        <label for="" class="col-sm-2  control-label">培训日期：</label>
        <div class="col-sm-10 ">
         <input type="text" class="form-control" id="datepicker">
        </div>
      </div>
      
      
      <div class="form-group">
        <label for="" class="col-sm-2  control-label">培训机构：</label>
        <div class="col-sm-10 ">
           <input type="text" class="form-control" id="">
        </div>
      </div>
      
      
      <div class="form-group">
        <label for="" class="col-sm-2  control-label">学时：</label>
        <div class="col-sm-10 ">
           <input type="text" class="form-control" id="">
         </div>
     </div>
      
      <div class="form-group">
        <label for="" class="col-sm-2  control-label">学分：</label>
        <div class="col-sm-10 ">
           <input type="text" class="form-control" id="">
         </div>
     </div>
     <div class="form-group">
        <label for="" class="col-sm-2  control-label">实际学分：</label>
        <div class="col-sm-10 ">
           <input type="text" class="form-control" id="">
         </div>
     </div>
      
      <div class="form-group">
        <label for="" class="col-sm-2  control-label">备注：</label>
        <div class="col-sm-10 ">
        <textarea class="form-control" rows="3"></textarea>
        </div>
      </div>
      
      <div class="form-group">
        <label for="" class="col-sm-2  control-label">附件：</label>
        <div class="col-sm-10 ">
         <input type="file"  >
        </div>
      </div>
      
      
    
    </form>
  </div>
  <!--row  end-->
  
  <div class="row row_margin" >
    <button type="button" class="btn btn-primary btn-lg btn-block btn-primary2">确定</button>
  </div>
</div>
<!--container  end--> 
<!--主体部分  end--> 
<!--底部-->

<div class="container" style="margin-top:25%;">
  <div class="row">
    <div class="footer navbar-fixed-bottom">
      <div class="col-xs-12" style=" height:15%"></div>
      <div class="col-md-4  col-xs-4 text-center" >
        <p class="glyphicon glyphicon-home white footer_font"></p>
        <p><a href="" class="white  footer_font2">首页</a></p>
      </div>
      <div class="col-md-4 col-xs-4 text-center white  ">
        <p class="glyphicon glyphicon-comment white  footer_font"></p>
        <p><a href=""  class="white  footer_font2">消息</a></p>
      </div>
      <div class="col-md-4 col-xs-4 text-center white" >
        <p class="glyphicon glyphicon-asterisk white footer_font"></p>
        <p ><a href=""  class="white  footer_font2">设置</a></p>
      </div>
    </div>
    <!--footer  end--> 
    
  </div>
  <!--row  end--> 
  
</div>
<!--container  end--> 

<!--底部end-->
<script src="../static/js/jquery.min.js" type="text/javascript"></script>
<script src="../static/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="../static/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->
<script src="../static/js/bootstrap-typeahead.js" type="text/javascript"></script><!--模糊查询-->

<script>
		$(function() {
			function displayResult(item) {
				$("#staff_id").val(item.value);
				if(item.value > 0){
				//window.location.href="index.php?a=staff.subjectupdate&staff_id="+item.value;
				}
			}
			$('#staff_name').typeahead({
			 source: [
			{%foreach from=$staff_lists key=key item=value%}
            { id: {%$value.staff_id%}, name: '{%$value.staff_name%}' },
			{%/foreach%}
        ],

				onSelect: displayResult,
			});
		  
		});
</script>
<script>
  $(function() {
    $( "#datepicker" ).datepicker({
		
        changeMonth: true,
        changeYear: true
	  
    });
	

	
	
  });
  </script>

</body>
</html>
